import {getPath} from './util'

const RouterEnroll = [
  {
    path: getPath('/enroll'),
    name: 'enroll',
    component: resolve => require([`@/pages/enroll/enroll`], resolve),
    meta: {
      requireAuth: true,
      ignoreEnterprise: true,
    }

  },
  {
    path: getPath('/registerResultPage'),
    name: 'registerResultPage',
    component: resolve => require([`@/pages/enroll/registerResultPage`], resolve),
    meta: {
      requireAuth: false,
    }

  },
];

export default RouterEnroll
